<?php
/* @var $this TypeController */
/* @var $model Type */
/* @var $form CActiveForm */
?>
<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'type-form',
	'enableAjaxValidation'=>false,
)); ?>

				<table class="texteSimple">
	            <tr>
                 	<td align="left"><?php echo $form->labelEx($model,'nameFr' ); ?></td>
                 	<td><?php echo $form->textField($model,'nameFr',array('value'=>$model->getNameFr(),'class'=>'searchAAdvanced','size'=>50,'maxlength'=>250)); ?>
						<?php echo $form->error($model,'nameFr'); ?>
					</td>
				</tr>	
				
	            <tr>
                 	<td align="left"><?php echo $form->labelEx($model,'nameEn' ); ?></td>
                 	<td><?php echo $form->textField($model,'nameEn',array('value'=>$model->getNameEn(),'class'=>'searchAAdvanced','size'=>50,'maxlength'=>250)); ?>
						<?php echo $form->error($model,'nameEn'); ?>
					</td>
				</tr>	

		        <tr>
		        	<td>&nbsp;</td>
                 	<td align="left"><?php echo CHtml::submitButton($model->isNewRecord ? 'Enregistrer' : 'Sauvegarder',array('class'=>'searchAAdvanced',)); ?></td>
                </tr>	
				</table>

<?php $this->endWidget(); ?>

</div><!-- form -->